import { request } from "../request"
// 注册接口
export const register = (data) => {
  return request({
    url: 'login/register',
    method: 'POST',
    data
  })
}

// 登录
export const loginOfficial = (data) => {
  return request({
    url: 'login/loginOfficial',
    method: 'POST',
    data
  })
}
// 官网用户查询用户信息
export const userChangePasswordSearch = (data) => {
  return request({
    url: 'login/userChangePasswordSearch',
    method: 'POST',
    data
  })
}
// 找回密码
export const userChangePassword = (data) => {
  return request({
    url: 'login/userChangePassword',
    method: 'POST',
    data
  })
}
// 门店添加
export const registerStore = (data) => {
  return request({
    url: 'login/registerStore',
    method: 'POST',
    data
  })
}
// 门店登录
export const loginStore = (data) => {
  return request({
    url: 'login/loginStore',
    method: 'POST',
    data
  })
}